package com.zz.services.impl;

import com.zz.dao.ToolsTypeDao;
import com.zz.domain.ToolsType;
import com.zz.services.ToolsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ToolsTypeServiceImpl implements ToolsTypeService {
    @Autowired
    ToolsTypeDao toolsTypeDao;
    @Override
    public List<ToolsType> getToolsTypeAll() {
        return toolsTypeDao.findToolsTypeAll();
    }
}
